package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author 刘昱江
 * 时间 2021/4/7
 */
@Data
@Accessors(chain = true)
@TableName("course")
public class Course extends BasePojo{
    @TableId(value = "course_id",type = IdType.AUTO)
    private Integer courseId;       //id主键自增
    private String courseName;      //课程名称
    private String courseContent;      //课程内容
//    private Integer courseStudentId;        //关联学生id
//    private String courseStudentName;        //关联学生
//    private Integer courseTeacherId;      //关联老师id

    private String courseImage;      //图片
    private Boolean status;       //状态    0 下架 1 上架


}
